package com.lijie.ljblog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lijie.ljblog.model.Game;
import com.lijie.ljblog.model.GameScore;
import com.lijie.ljblog.model.dto.GameScoreDTO;
import com.lijie.ljblog.model.vo.GameGoBangScoreRankVO;
import com.lijie.ljblog.model.vo.GameScoreRankVO;
import com.lijie.ljblog.model.vo.GameScoreVO;

import java.util.List;

/**
 * @Description
 * @Author lijie
 * @Date 2022/8/24 10:25
 **/
public interface GameScoreMapper extends BaseMapper<GameScore> {

    /**
     * 查询游戏排名
     * @param gameScoreDTO
     * @return
     */
    List<GameScoreRankVO> getGameScoreRank(GameScoreDTO gameScoreDTO);

    /**
     *  获得五子棋的游戏排名
     * @param gameScoreDTO
     * @return
     */
    List<GameGoBangScoreRankVO> getGoBangScoreRank(GameScoreDTO gameScoreDTO);
}
